package com.synergy.stockflow.procure.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.synergy.stockflow.procure.entity.AcceptanceOnArrival;
import com.synergy.stockflow.procure.entity.PurchaseOrder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

@Mapper
public interface AcceptanceOnArrivalMapper extends BaseMapper<AcceptanceOnArrival> {
    List<AcceptanceOnArrival> selectAll(Page<AcceptanceOnArrival> page,
                                        @Param("acceptanceOnArrivalId") String acceptanceOnArrivalId,
                                        @Param("acceptanceOnArrivalPurchaseOrderId") String acceptanceOnArrivalPurchaseOrderId,
                                        @Param("acceptanceOnArrivalWarehouseId") String acceptanceOnArrivalWarehouseId,
                                        @Param("acceptanceOnArrivalInboundBatches") String acceptanceOnArrivalInboundBatches,
                                        @Param("acceptanceOnArrivalEmployeeId") String acceptanceOnArrivalEmployeeId,
                                        @Param("acceptanceOnArrivalEligibility") String acceptanceOnArrivalEligibility,
                                        @Param("acceptanceOnArrivalStorage") String acceptanceOnArrivalStorage,
                                        @Param("acceptanceOnArrivalInboundTime") String acceptanceOnArrivalInboundTime,
                                        @Param("acceptanceOnArrivalWarehousingClerk") String acceptanceOnArrivalWarehousingClerk);

    List<AcceptanceOnArrival> selectT(String acceptanceOnArrivalPurchaseOrderId);

    List<AcceptanceOnArrival> isRuku(String acceptanceOnArrivalPurchaseOrderId);
}